package com.atu.atugra.entity;
 
import java.util.Date;
 
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * (Products)表实体类
 *
 * @author makejava
 * @since 2025-02-07 12:03:44
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("serial")
public class Products {
    @TableId
    private Integer productId;
    //商品分类ID 
    private Integer categoryId;
    //商品名称 
    private String productName;
    //商品描述 
    private String description;
    //商品价格 
    private Double price;
    //商品图片链接
    private String imageUrl;
    //百度网盘地址
    private String netdiskUrl;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;
    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;
}
